package com.korubo.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.korubo.web.model.Role;
import com.korubo.web.model.RoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    void saveBatch(Role role);

    List<String> findByRoleId(Role role);

    void removeByRoleId(Role role);
}
